import request from '@/utils/request'

export async function getNewsInfo(data) {
  return request({
    url: "/api/user/news/get",
    method: "POST",
    data
  })
}
export async function getNewsInfoByNewsId(id) {
  return request({
    url: `/api/user/news/get-news/${id}`,
    method: "GET",
  })
}




